﻿
namespace Dapper.SimpleDao.Factory
{
    public enum Operator
    {
        /// <summary>
        /// 等于
        /// </summary>
        Eq,

        /// <summary>
        /// 大于
        /// </summary>
        Gt,

        /// <summary>
        /// 大于等于
        /// </summary>
        Ge,

        /// <summary>
        /// 小于
        /// </summary>
        Lt,

        /// <summary>
        /// 小于等于
        /// </summary>
        Le,

        /// <summary>
        /// Like
        /// </summary>
        Like
    }

    public enum GroupOperator
    {
        /// <summary>
        /// 条件和
        /// </summary>
        And,
        /// <summary>
        /// 条件或
        /// </summary>
        Or
    }

    public enum EntityOperatorFlag
    {
        Add,
        Update,
        Delete
    }
}
